.settings-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  color: white;
  padding-top: 60px; /* Account for fixed header */
}

.settings-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}

.settings-header {
  text-align: center;
  margin-bottom: 40px;
}

.settings-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #00ffff, #0080ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.settings-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Settings Layout */
.settings-layout {
  display: flex;
  gap: 30px;
}

.settings-tabs {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-btn {
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.tab-btn.active {
  background: linear-gradient(135deg, #00ffff, #0080ff);
  color: white;
  border-color: transparent;
}

.settings-panel {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
}

.settings-panel h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: white;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(0, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.form-divider {
  margin: 30px 0 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-divider h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
}

.save-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #00ffff, #0080ff);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

/* Setting Groups */
.setting-group {
  margin-bottom: 30px;
}

.setting-group h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.radio-option:hover,
.checkbox-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.radio-option input,
.checkbox-option input {
  width: auto;
  margin: 0;
}

.radio-option span,
.checkbox-option span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

/* Language Settings */
.language-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.language-option.active {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.3);
}

.flag {
  font-size: 1.5rem;
}

/* Loading State */
.settings-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50vh;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid #00ffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .settings-content {
    padding: 20px 15px;
  }
  
  .settings-header h1 {
    font-size: 2rem;
  }
  
  .settings-layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .settings-tabs {
    flex: none;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 12px 16px;
  }
  
  .settings-panel {
    padding: 20px;
  }
  
  .settings-panel h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .settings-header h1 {
    font-size: 1.8rem;
  }
  
  .settings-tabs {
    gap: 8px;
  }
  
  .tab-btn {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  
  .settings-panel {
    padding: 15px;
  }
  
  .language-option {
    padding: 12px 15px;
  }
  
  .flag {
    font-size: 1.2rem;
  }
}